package com.buybuyyi.stylistcrm.resource.goods.dao.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.buybuyyi.stylistcrm.resource.goods.dao.GoodsBrandDao;
import com.buybuyyi.stylistcrm.resource.goods.mapper.GoodsBrandMapper;
import com.buybuyyi.stylistcrm.resource.goods.po.GoodsBrand;

@Repository
public class GoodsBrandDaoImpl implements GoodsBrandDao {
	
	@Autowired
	private GoodsBrandMapper goodsBrandMapper;

	@Override
	public Long deleteByPrimaryKey(Long id) {
		return goodsBrandMapper.deleteByPrimaryKey(id);
	}

	@Override
	public Long insert(GoodsBrand record) {
		return goodsBrandMapper.insert(record);
	}

	@Override
	public Long insertSelective(GoodsBrand record) {
		return goodsBrandMapper.insertSelective(record);
	}

	@Override
	public GoodsBrand selectByPrimaryKey(Long id) {
		return goodsBrandMapper.selectByPrimaryKey(id);
	}

	@Override
	public Long updateByPrimaryKeySelective(GoodsBrand record) {
		return goodsBrandMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public Long updateByPrimaryKey(GoodsBrand record) {
		return goodsBrandMapper.updateByPrimaryKey(record);
	}
	
    
}